/*
 * @Author: 鹿的树
 * @Date: 2025-02-12 10:45:22
 * @LastEditors: 鹿的树
 * @LastEditTime: 2025-02-12 15:21:12
 * @FilePath: /boos-inductor/src/router/index.ts
 * @Description: 文件内容描述语
 */
import { createRouter, createWebHistory } from 'vue-router'
import IndexView from '../views/index.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: IndexView,
    },
    {
      path: '/about',
      name: 'about',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      // component: () => import('../views/AboutView.vue'),
    },
  ],
})

export default router
